home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / futils / futils~1 / src / text11s.zoo / text1.1 / lib / Makefile < prev    next >
Encoding:
Makefile  |  1991-11-02  |  1.6 KB  |  66 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # Makefile for library files used by GNU textutils.
  3. # Do not use this makefile directly, but only from `../Makefile'.
  4. # Copyright (C) 1991 Free Software Foundation, Inc.
  5.  
  6. # This program is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as published by
  8. # the Free Software Foundation; either version 2, or (at your option)
  9. # any later version.
  10.  
  11. # This program is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. # GNU General Public License for more details.
  15.  
  16. # You should have received a copy of the GNU General Public License
  17. # along with this program; if not, write to the Free Software
  18. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  
  20.  
  21. srcdir = ./lib
  22.  
  23.  
  24. SOURCES = error.c getopt.c getopt1.c linebuffer.c regex.c xmalloc.c xwrite.c \
  25. bcopy.c memchr.c memcmp.c stpcpy.c
  26.  
  27. OBJECTS =  error.o getopt.o getopt1.o linebuffer.o regex.o xmalloc.o xwrite.o \
  28.  stpcpy.o
  29.  
  30. DISTFILES = Makefile.in getopt.h linebuffer.h regex.h $(SOURCES)
  31.  
  32. all: libtu.a
  33. .PHONY: all
  34.  
  35. install: all
  36. .PHONY: install
  37.  
  38. tags: $(SOURCES)
  39.     ctags $(SOURCES)
  40.  
  41. TAGS: $(SOURCES)
  42.     etags $(SOURCES)
  43.  
  44. clean:
  45.     rm -f *.a *.o
  46. .PHONY: clean
  47.  
  48. distclean: clean
  49.     rm -f tags TAGS Makefile
  50. .PHONY: distclean
  51.  
  52. realclean: distclean
  53. .PHONY: realclean
  54.  
  55. dist:
  56.     ln $(DISTFILES) ../`cat ../.fname`/lib
  57. .PHONY: dist
  58.  
  59. libtu.a: $(OBJECTS)
  60.     rm -f $@
  61.     $(AR) cr $@ $(OBJECTS)
  62.     -$(RANLIB) $@
  63.  
  64. getopt1.o: getopt.h
  65. regex.o: regex.h
  66.